<template>
<div class="about">
    <h2>当前计数about:{{ counter }}</h2>
    <button @click="up">+1</button>
    <button @click="down">-1</button>
</div>
</template>
<script>
import usecounter from "@/setup基本使用/hooks/counter";
import { ref, onMounted } from "vue"

export default {
    setup() {
        return {
        ...usecounter()
      }
    }
}
</script>
<style scoped lang="less">

</style>